#include<stdio.h>
int main()
{
	int m,n;
	scanf("%d %d",&m,&n);
	if(m%n==0) printf("yes");
	else printf("%d %d",m/n,m%n);
	return 0;
}
